package utils;

/**
 * Created by lincl on 2018/12/7.
 */
public abstract class ACallBack implements ICallBack{
    Object obj;
    boolean success = false;

    public void setResult(boolean success, Object obj){
        this.setObj(obj);
        this.setSuccess(success);
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }
}
